package cn.exrick.xboot.base.vo

import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.TableField
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("事故案例实体")
data class AccidentCaseVo(

        @ApiModelProperty("id")
        var id: String? = "",

        @ApiModelProperty("创建者", hidden = true)
        var createName: String? = "",

        @ApiModelProperty("事故所在地")
        var site: String? = "",

        @ApiModelProperty("事故企业名称")
        var enterpriseName: String? = "",

        @ApiModelProperty("事故发生时间")
        var time: String? = "",

        @ApiModelProperty("事故死亡人数")
        var deathToll: String? = "",

        @ApiModelProperty("事故受伤人数")
        var injuryNum: String? = "",

        @ApiModelProperty("事故企业类型")
        var enterpriseType: String? = "",

        @ApiModelProperty("事故类型")
        var accidentCaseType: String? = "",

        @ApiModelProperty("事故概况")
        var generalSituation: String? = "",

        @ApiModelProperty("事故图片")
        var picsList: List<String>? = null,

        @ApiModelProperty("事故描述")
        var accidentSituation: String? = null,

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "创建时间", hidden = true)
        var createTime: Date? = null

)